<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%@page isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Community Hospital Records</title>
    <style type="text/css"><!--
body{font-family:sans-serif; text-align:center;}
div.container{width:1200px; text-align:left;}
div.entry {
    clear:both;
}
label {
    width:187px;
    float:left;
    text-align:right;
    padding-top:2px;
    margin-bottom:13px;
    margin-right: 6px;
}
    --></style>
</head>
<body><center>
<div class="container">

    <h2>Community Hospital Patient Records</h2>

    <table>
    <tr>
        <td><b>Date</b></td>
        <td><b>Patient</b></td>
        <td><b>Address</b></td>
        <td><b>Dob</b></td>
        <td><b>Gender</b></td>
        <td><b>Ethnicity</b></td>
        <td><b>Test</b></td>
        <td><b>Result</b></td>
        <td><b>Normal Range</b></td>
        <td><b>Note</b></td>
    </tr>
    <c:forEach items="${requestScope.records}" var="record">
        <tr>
            <td>${record.testDate}</td>
            <td>${record.patientName}</td>
            <td>${record.patientAddress}</td>
            <td>${record.patientDob}</td>
            <td>${record.patientGender}</td>
            <td>${record.patientRace}</td>
            <td>${record.testName}</td>
            <td>${record.testResult} ${record.testResultUnit}</td>
            <td>${record.testResultNormalRange}</td>
            <td>${record.testNote}</td>
        </tr>
    </c:forEach>
    </table>
    

</div>
</center></body>
</html>
